<?php
/**
 * File: cmsfiles.php.
 * Author: caoqicheng@haibao.com
 * Editor: PhpStorm
 * Date: 17/2/7 下午4:20
 * Brief:
 */
namespace haibao\jiepai\model\filter\file;

class CmsFiles extends \haibao\jiepai\model\filter\Base{
	public function __construct(){
		parent::__construct('\haibao\jiepai\model\data\file\CmsFiles');
	}

	const CONDITION_FIELD_NAME_USER_ID = 'UserID';
	const CONDITION_FIELD_NAME_CREATE_TIME = 'CreateTime';
	const CONDITION_FIELD_NAME_ORIGINAL_NAME = 'OriginalName';
	const CONDITION_FIELD_NAME_FLAG = 'Flag';
	const CONDITION_FIELD_NAME_SERVER_FILE_NAME = 'ServerFileName';
	
	const CONDITION_FIELD_NAME_SHARE_FILE_NAME = 'ShareFileName';
	const CONDITION_FIELD_NAME_FILE_SIZE = 'FileSize';
	const CONDITION_FIELD_NAME_FILE_WIDTH = 'FileWidth';
	const CONDITION_FIELD_NAME_FILE_HEIGHT = 'FileHeight';
	const CONDITION_FIELD_NAME_CROPX = 'CropX';
	const CONDITION_FIELD_NAME_CROPY = 'CropY';
	const CONDITION_FIELD_NAME_CROP_WIDTH = 'CropWidth';
	const CONDITION_FIELD_NAME_CROP_HEIGHT = 'CropHeight';
	const CONDITION_FIELD_NAME_RATIO = 'Ratio';
	const CONDITION_FIELD_NAME_DURATION = 'Duration';
	const CONDITION_FIELD_NAME_DESCRIPTION = 'Description';
	const CONDITION_FIELD_NAME_FILE_TYPE = 'FileType';
	const CONDITION_FIELD_NAME_CROP_STYLE1= 'CropStyle1';
	
	const CONDITION_FIELD_NAME_SHOW_URL = 'ShowUrl';
}